<template>
    <div>
        <h1>这是account组件</h1>
        <router-link to="/account/login">登录</router-link>
        <router-link to="/account/reg">注册</router-link>
        <router-view></router-view>
    </div>
</template>

<script>
export default{
    data (){
        return {
            msg:"msg"
        }
    },
    methods: {
        show(){
            console.log("调用login.vue中的show()")
        }
    },
}
</script>

<style>
    
</style>